/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.ofbiz.eclipse.model.webapp.SiteConf;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Response Type</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getRedirectParameter <em>Redirect Parameter</em>}</li>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getName <em>Name</em>}</li>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveCurrentView <em>Save Current View</em>}</li>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveHomeView <em>Save Home View</em>}</li>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveLastView <em>Save Last View</em>}</li>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getType <em>Type</em>}</li>
 *   <li>{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getValue <em>Value</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType()
 * @model extendedMetaData="name='response_._type' kind='elementOnly'"
 * @generated
 */
public interface ResponseType extends EObject {
	/**
	 * Returns the value of the '<em><b>Redirect Parameter</b></em>' containment reference list.
	 * The list contents are of type {@link org.ofbiz.eclipse.model.webapp.SiteConf.RedirectParameterType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * Adds a parameter with the given name to the redirect. Finds value in a
	 *                 request attribute if exists, or a request parameter if no attribute is
	 *                 found.
	 * <!-- end-model-doc -->
	 * @return the value of the '<em>Redirect Parameter</em>' containment reference list.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_RedirectParameter()
	 * @model containment="true"
	 *        extendedMetaData="kind='element' name='redirect-parameter' namespace='##targetNamespace'"
	 * @generated
	 */
	EList<RedirectParameterType> getRedirectParameter();

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_Name()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
	 *        extendedMetaData="kind='attribute' name='name' namespace='##targetNamespace'"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Save Current View</b></em>' attribute.
	 * The default value is <code>"false"</code>.
	 * The literals are from the enumeration {@link org.ofbiz.eclipse.model.webapp.SiteConf.SaveCurrentViewType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * Saves the current request's view for future use, generally with
	 *                     the view-last type of response.
	 * <!-- end-model-doc -->
	 * @return the value of the '<em>Save Current View</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SaveCurrentViewType
	 * @see #isSetSaveCurrentView()
	 * @see #unsetSaveCurrentView()
	 * @see #setSaveCurrentView(SaveCurrentViewType)
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_SaveCurrentView()
	 * @model default="false" unsettable="true"
	 *        extendedMetaData="kind='attribute' name='save-current-view' namespace='##targetNamespace'"
	 * @generated
	 */
	SaveCurrentViewType getSaveCurrentView();

	/**
	 * Sets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveCurrentView <em>Save Current View</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Save Current View</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SaveCurrentViewType
	 * @see #isSetSaveCurrentView()
	 * @see #unsetSaveCurrentView()
	 * @see #getSaveCurrentView()
	 * @generated
	 */
	void setSaveCurrentView(SaveCurrentViewType value);

	/**
	 * Unsets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveCurrentView <em>Save Current View</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetSaveCurrentView()
	 * @see #getSaveCurrentView()
	 * @see #setSaveCurrentView(SaveCurrentViewType)
	 * @generated
	 */
	void unsetSaveCurrentView();

	/**
	 * Returns whether the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveCurrentView <em>Save Current View</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Save Current View</em>' attribute is set.
	 * @see #unsetSaveCurrentView()
	 * @see #getSaveCurrentView()
	 * @see #setSaveCurrentView(SaveCurrentViewType)
	 * @generated
	 */
	boolean isSetSaveCurrentView();

	/**
	 * Returns the value of the '<em><b>Save Home View</b></em>' attribute.
	 * The default value is <code>"false"</code>.
	 * The literals are from the enumeration {@link org.ofbiz.eclipse.model.webapp.SiteConf.SaveHomeViewType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * Saves the current request's view for future use, generally with
	 *                     the view-home type of response.
	 * <!-- end-model-doc -->
	 * @return the value of the '<em>Save Home View</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SaveHomeViewType
	 * @see #isSetSaveHomeView()
	 * @see #unsetSaveHomeView()
	 * @see #setSaveHomeView(SaveHomeViewType)
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_SaveHomeView()
	 * @model default="false" unsettable="true"
	 *        extendedMetaData="kind='attribute' name='save-home-view' namespace='##targetNamespace'"
	 * @generated
	 */
	SaveHomeViewType getSaveHomeView();

	/**
	 * Sets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveHomeView <em>Save Home View</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Save Home View</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SaveHomeViewType
	 * @see #isSetSaveHomeView()
	 * @see #unsetSaveHomeView()
	 * @see #getSaveHomeView()
	 * @generated
	 */
	void setSaveHomeView(SaveHomeViewType value);

	/**
	 * Unsets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveHomeView <em>Save Home View</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetSaveHomeView()
	 * @see #getSaveHomeView()
	 * @see #setSaveHomeView(SaveHomeViewType)
	 * @generated
	 */
	void unsetSaveHomeView();

	/**
	 * Returns whether the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveHomeView <em>Save Home View</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Save Home View</em>' attribute is set.
	 * @see #unsetSaveHomeView()
	 * @see #getSaveHomeView()
	 * @see #setSaveHomeView(SaveHomeViewType)
	 * @generated
	 */
	boolean isSetSaveHomeView();

	/**
	 * Returns the value of the '<em><b>Save Last View</b></em>' attribute.
	 * The default value is <code>"false"</code>.
	 * The literals are from the enumeration {@link org.ofbiz.eclipse.model.webapp.SiteConf.SaveLastViewType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * Saves the last (previous) request's view for future use, generally
	 *                     with the view-last type of response.
	 * <!-- end-model-doc -->
	 * @return the value of the '<em>Save Last View</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SaveLastViewType
	 * @see #isSetSaveLastView()
	 * @see #unsetSaveLastView()
	 * @see #setSaveLastView(SaveLastViewType)
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_SaveLastView()
	 * @model default="false" unsettable="true"
	 *        extendedMetaData="kind='attribute' name='save-last-view' namespace='##targetNamespace'"
	 * @generated
	 */
	SaveLastViewType getSaveLastView();

	/**
	 * Sets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveLastView <em>Save Last View</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Save Last View</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SaveLastViewType
	 * @see #isSetSaveLastView()
	 * @see #unsetSaveLastView()
	 * @see #getSaveLastView()
	 * @generated
	 */
	void setSaveLastView(SaveLastViewType value);

	/**
	 * Unsets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveLastView <em>Save Last View</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetSaveLastView()
	 * @see #getSaveLastView()
	 * @see #setSaveLastView(SaveLastViewType)
	 * @generated
	 */
	void unsetSaveLastView();

	/**
	 * Returns whether the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getSaveLastView <em>Save Last View</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Save Last View</em>' attribute is set.
	 * @see #unsetSaveLastView()
	 * @see #getSaveLastView()
	 * @see #setSaveLastView(SaveLastViewType)
	 * @generated
	 */
	boolean isSetSaveLastView();

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The literals are from the enumeration {@link org.ofbiz.eclipse.model.webapp.SiteConf.TypeType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.TypeType
	 * @see #isSetType()
	 * @see #unsetType()
	 * @see #setType(TypeType)
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_Type()
	 * @model unsettable="true" required="true"
	 *        extendedMetaData="kind='attribute' name='type' namespace='##targetNamespace'"
	 * @generated
	 */
	TypeType getType();

	/**
	 * Sets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.TypeType
	 * @see #isSetType()
	 * @see #unsetType()
	 * @see #getType()
	 * @generated
	 */
	void setType(TypeType value);

	/**
	 * Unsets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetType()
	 * @see #getType()
	 * @see #setType(TypeType)
	 * @generated
	 */
	void unsetType();

	/**
	 * Returns whether the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getType <em>Type</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Type</em>' attribute is set.
	 * @see #unsetType()
	 * @see #getType()
	 * @see #setType(TypeType)
	 * @generated
	 */
	boolean isSetType();

	/**
	 * Returns the value of the '<em><b>Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Value</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Value</em>' attribute.
	 * @see #setValue(String)
	 * @see org.ofbiz.eclipse.model.webapp.SiteConf.SiteConfPackage#getResponseType_Value()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.String"
	 *        extendedMetaData="kind='attribute' name='value' namespace='##targetNamespace'"
	 * @generated
	 */
	String getValue();

	/**
	 * Sets the value of the '{@link org.ofbiz.eclipse.model.webapp.SiteConf.ResponseType#getValue <em>Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Value</em>' attribute.
	 * @see #getValue()
	 * @generated
	 */
	void setValue(String value);

} // ResponseType
